package com.caipiao.mapper;

import com.caipiao.pojo.SNews;
import com.sun.org.apache.bcel.internal.generic.NEW;

import java.util.List;

public interface SNewsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SNews record);

    int insertSelective(SNews record);

    SNews selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SNews record);

    int updateByPrimaryKey(SNews record);
    //资讯列表
    List<SNews> select();
}